<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('会员编号')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-uid" readonly data-rule="required" min="0" class="form-control" name="row[uid]" type="number" value="{$row.uid|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('专业名称')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-profession_id"  data-rule="required" min="0" data-source="profession/profession/index" class="form-control selectpage" name="row[profession_id]" type="text" value="{$row.profession_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('有效期至')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-expire" data-rule="required" class="form-control datetimepicker"  name="row[expire]" type="text"  data-date-default-date="{$row.expire|htmlentities}" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('交易标签')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-tag" class="form-control" data-role='tagsinput' name="row[tag]" type="text" value="{$row.tag|htmlentities}" data-tagsinput-options='{"maxTags":3, "trimValue":true}'>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
